Process

ABSTRACT

The present invention relates to a novel process for the preparation of the magnesium salt of the (−)-enantiomer of 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1 H -benzimidazole trihydrate, i.e. S-omeprazole magnesium salt trihydrate. The present invention also relates to the S-omeprazole magnesium salt trihydrate prepared in accordance with the new process and pharmaceutical compositions containing it. Furthermore, the present invention also relates to new intermediates used in the process.

This is a continuation-in-part of U.S. patent application Ser. No. 09/077,719, filed Jun. 8, 1998 now U.S. Pat. No. 6,369,085, which was the National Stage Application of PCT/SE98/00974, filed May 5, 1998.

FIELD OF THE INVENTION

The present invention relates to a novel process for preparing the magnesium salt of the (−)-enantiomer of 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole trihydrate, i.e. S-omeprazole magnesium salt trihydrate. The present invention also relates to the S-omeprazole magnesium salt trihydrate prepared in accordance with the novel process and pharmaceutical compositions containing it. Furthermore, the present invention also relates to intermediates used in the process, and their preparation.

BACKGROUND OF THE INVENTION AND PRIOR ART

The compound 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]sulfinyl]-1H-benzimidazole, having the generic name omeprazole, and therapeutically acceptable salts thereof, are described in EP 5129. The specific alkaline salts of omeprazole are disclosed in EP 124 495. Omeprazole is a proton pump inhibitor, i.e. effective in inhibiting gastric acid secretion, and is useful as an antiulcer agent. In a more general sense, omeprazole may be used for prevention and treatment of gastric-acid related diseases in mammals and especially in man.

Omeprazole is a sulfoxide and a chiral compound, wherein the sulfur atom being the stereogenic center. Thus, omeprazole is a racemic mixture of its two single enantiomers, the R and S-enantiomer of omeprazole, herein referred to as R-omeprazole and S-omeprazole. The absolute configurations of the enantiomers of omeprazole have been determined by an X-ray study of an N-alkylated derivative of the (+)-enantiomer in non-salt form. The (+)-enantiomer of the non-salt form and the (−)-enantiomer of the non-salt form were found to have R and S configuration, respectively, and the (+)-enantiomer of the magnesium salt and the (−)-enantiomer of the magnesium salt were also found to have R and S configuration, respectively. The conditions for the optical rotation measurement for each of these enantiomers are described in WO 94/27988.

Certain salts of single enantiomers of omeprazole and their preparation are disclosed in WO 94/27988. These compounds have improved pharmacokinetic and metabolic properties which will give an improved therapeutic profile such as a lower degree of interindividual variation.

WO 96/02535 discloses a process for the preparation of the single enantiomers of omeprazole and salts thereof, and WO 96/01623 discloses a suitable tableted dosage forms of for instance magnesium salts of R- and S-omeprazole.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a X-ray powder diffractogram of the magnesium salt of S-omeprazole trihydrate prepared according to the present invention.

FIG. 2 shows a X-ray powder diffractogram of the potassium salt of S-omeprazole prepared and used in the present application (See examples 2 and 3)

FIG. 3 shows a X-ray powder diffractogram of a magnesium salt of S-omeprazole dihydrate prepared and used in the present application (See example 5)

FIG. 4 shows a X-ray powder diffractogram of a magnesium salt of S-omeprazole dihydrate which is a polymorph of the dihydrate shown in FIG. 3 (See Example 6). This magnesium salt of S-omeprazole dihydrate has been prepared and can be used in the preparation of the magnesium salt of S-omeprazole trihydrate according to the present invention.

FIG. 5 shows X-ray powder diffractogram of the magnesium salt of S-omeprazole prepared according to example A in WO 96/01623.

DESCRIPTION OF THE INVENTION

It has surprisingly been found that the magnesium salt of S-omeprazole occurs in a number of structurally different forms. It is an object of the present invention to provide a substantially pure magnesium salt of S-omeprazole trihydrate, hereinafter referred to as the compound of the invention. This trihydrate can be obtained as a well defined compound. The present invention also provides a process to obtain and a method of differentiating the magnesium salt of S-omeprazole trihydrate from other forms of magnesium salts of S-omeprazole.

The compound of the invention is advantageous because it is more stable than the corresponding magnesium salt compounds in prior art and is therefore easier to handle and is store. The compound of the invention is also easier to characterize because it exists in a well-defined state. Additionally, the compound of the invention is easier to synthesize in a reproducible manner and thereby easier to handle in a full scale production.

The magnesium salt of S-omeprazole trihydrate obtained according to the present invention is substantially free from magnesium salts of R-omeprazole. The magnesium salt of S-omeprazole trihydrate obtained according to the present invention is also substantially free from other forms of magnesium salts of S-omeprazole, such as the corresponding magnesium salt compounds described in prior art, and dihydrates used in the preparation of the trihydrate compound according to the present invention.

The compound of the invention is characterized by the positions and intensities of the major peaks in the X-ray powder diffractogram, but may also be characterized by conventional FT-IR spectroscopy. These characteristics are not exhibited by any other form of magnesium salt of S-omeprazole and accordingly, the magnesium salt of S-omeprazole trihydrate is easily distinguishable from any other crystal form of the magnesium salt of S-omeprazole disclosed in prior art. The compound of the invention is characterized by being highly crystalline, i.e. having a higher crystallinity than any other form of magnesium salt of S-omeprazole disclosed in the prior art. With the expression “any other form” is meant anhydrates, hydrates, solvates, and polymorphs or amorphous forms thereof disclosed in the prior art. Examples of any other forms of magnesium salt of S-omeprazole includes, but are not limited to, anhydrates, monohydrates, dihydrates, sesquihydrates, trihydrates, alcoholates, such as methanolates and ethanolates, and polymorphs or amorphous forms thereof.

The compound of the invention may also be characterized by its unit cell.

In a further aspect, the present invention provides processes for the preparation of the magnesium salt of S-omeprazole trihydrate which comprises;

a) treating a magnesium salt of S-omeprazole of any form, for example prepared according to procedures known in the art such as Example A in WO 96/01623 which is incorporated herein by reference, with water at a suitable temperature for a suitable time. By a suitable temperature is meant a temperature, which induces the transformation of starting material to product without decomposing any of these compounds. Examples of such suitable temperatures include, but are not limited to, room temperature and above. By a suitable time is meant a time that results in high conversion of the starting material into product without causing any decomposition of either compounds, i.e. results in a good yield. This suitable time will vary depending on the temperature used in a way well known to people in the art. The higher the temperature, the shorter time is needed to give the desired conversion. The amount of water is not crucial and will depend on the process conditions used. The magnesium salt of S-omeprazole trihydrate is thereafter separated from the aqueous slurry, for example by filtration or centrifugation and thereafter dried to constant weight; or

b) oxidizing 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]thio]-1H-benzimidazole, with an oxidizing agent and a chiral titanium complex, optionally in the presence of a base. The oxidation is carried out in an organic solvent, for example toluene or dichloromethane.

The crude product is converted to the corresponding potassium salt by treatment with a potassium source, such as methanolic potassium hydroxide or methanolic potassium methylate, followed by isolation of the formed salt.

The resulting potassium salt of S-omeprazole is thereafter converted to the corresponding magnesium salt by treatment with a magnesium source, such as magnesium sulfate in a lower alcohol, such as methanol. The solution is optionally filtered and the precipitation is initialized by addition of a non-solvent such as acetone. The product is filtered off and optionally washed with water and further processed as is described in a) above. Alternatively, the potassium salt may be treated with a magnesium source, such as magnesium sulfate in water, and isolation of the magnesium salt of S-omeprazole trihydrate, or any other conventional technique for transforming a potassium salt to the corresponding magnesium salt can be used and is within the scope of the present invention.

One process for obtaining esomeprazole magnesium trihydrate is described in Example 7. In this example, the aqueous solution of magnesium sulfate is added to an aqueous solution of esomeprazole potassium. However, the resulting solution is a foamy mixture. This foaming tendency of the mixture makes the process exceptionally difficult to scale up. Surprisingly, it has now have found that a reversed order of addition, i.e., adding an aqueous solution of esomeprazole potassium to an aqueous solution of magnesium sulfate, provides a method where the foaming is advantageously and substantially reduced to minor proportions. Thus, by this reversed order of addition as exemplified by Example 8, it is possible to effortlessly scale up the process for large production.

Yet a further aspect of the present invention is to provide a suitable intermediate used in the preparation of the compound of the invention, as well as a process for its preparation. The potassium salt of S-omeprazole is found to be such a suitable intermediate. The potassium salt of S-omeprazole may also be used as an active component of a pharmaceutical formulation to be used in the treatment of gastrointestinal diseases.

The compound of the invention, i.e. the magnesium salt of S-omeprazole trihydrate, prepared according to the present invention may be analyzed by XRPD, a technique which is known per se.

The amount of water in the magnesium salt of S-omeprazole trihydrate is determined by thermogravimetric analysis, a technique which is known per se.

The compound of the invention is effective as a gastric acid secretion inhibitor, and is useful as an antiulcer agent. In a more general sense, it can be used for prevention and treatment of gastric-acid related conditions in mammals and especially in man, including e.g. reflux esophagitis, gastritis, duodenitis, gastric ulcer and duodenal ulcer. Furthermore, it may be used for treatment of other gastrointestinal disorders where gastric acid inhibitory effect is desirable e.g. in patients on NSAID therapy, in patients with Non Ulcer Dyspepsia, in patients with symptomatic gastro-esophageal reflux disease, and in patients with gastrinomas. The compound of the invention may also be used in patients in intensive care situations, in patients with acute upper gastrointestinal bleeding, pre- and postoperatively to prevent aspiration of gastric acid and to prevent and treat stress ulceration. Further, the compound of the invention may be useful in the treatment of psoriasis as well as in the treatment of Helicobacter infections and diseases related to these. The compound of the invention may also be used for treatment of inflammatory conditions in mammals, including man.

Any suitable route of administration may be employed for providing the patient with an effective dosage of the magnesium salt of S-omeprazole trihydrate, according to the invention. For example, peroral or parental formulations and the like may be employed. Dosage forms include capsules, tablets, dispersions, suspensions and the like.

It is further provided a pharmaceutical composition comprising the magnesium salt of S-omeprazole trihydrate according to the invention, as active ingredient, in association with a pharmaceutically acceptable carrier, diluent or excipient and optionally other therapeutic ingredients. Compositions comprising other therapeutic ingredients are especially of interest in the treatment of Helicobacter infections. The invention also provides the use of the magnesium salt of S-omeprazole trihydrate of the invention in the manufacture of a medicament for use in the treatment of a gastric-acid related condition and a method of treating a gastric-acid related condition which method comprises administering to a subject suffering from said condition a therapeutically effective amount of the magnesium salt of S-omeprazole trihydrate according to the invention.

The compositions of the invention include compositions suitable for peroral or parental administration. The most preferred route is the oral route. The compositions may be conveniently presented in unit dosage forms, and prepared by any methods known in the art of pharmacy.

In the practice of the invention, the most suitable route of administration as well as the magnitude of a therapeutic dose of the magnesium salt of S-omeprazole trihydrate according to the invention in any given case will depend on the nature and severity of the disease to be treated. The dose, and dose frequency, may also vary according to the age, body weight, and response of the individual patient. Special requirements may be needed for patients having Zollinger-Ellison syndrome, such as a need for higher doses than the average patient. Children and patients with liver diseases generally will benefit from doses that are somewhat lower than the average. Thus, in some conditions it may be necessary to use doses outside the ranges stated below, for example long term treatments may request lower dosage. Such higher and lower doses are within the scope of the present invention. Such daily doses may vary between 5 mg to 300 mg.

In general, a suitable oral dosage form of the compound of the invention may cover a dose range from 5 mg to 300 mg total daily dose, administered in one single dose or equally divided doses. A preferred dosage range is from 10 mg to 80 mg.

The compound of the invention may be combined as the active component in intimate admixture with a pharmaceutical carrier according to conventional techniques, such as the oral formulations described in WO 96/01623 and EP 247 983, the disclosures of which are hereby incorporated as a whole by reference.

Combination preparations comprising the magnesium salt of S-omeprazole trihydrate and other active ingredients may also be used. Examples of such active ingredients include, but are not limited to anti-bacterial compounds, non-steroidal anti-inflammatory agents, antacid agents, alginates and prokinetic agents.

The examples which follow will further illustrate the preparation of the compound of the invention, according to different process routes and including new intermediates. These examples are not intended to limit the scope of the invention as defined hereinabove or as claimed below.

EXAMPLES Example 1

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Magnesium Salt Trihydrate

Water (157 kg) was added to the wet crystals of the magnesium salt of S-omeprazole, prepared according to Example 4, below. The mixture was heated to 38° C. with stirring and left for 3 hours. The crystals were filtered off and dried in vacuo. Yield: 31.6 kg

X-ray powder diffraction analysis was performed on a sample of the crystals prepared above according to standard methods, which can be found in e.g. Kitaigorodsky, A. I. (1973), Molecular Crystals and Molecules, Academic Press, New York; Bunn, C. W. (1948), Chemical Crystallography, Clarendon Press, London; or Klug, H. P. & Alexander, L. E. (1974), X-Ray Diffraction Procedures, John Wiley and Sons, New York. The analysis gave the diffractogram depicted in FIG. 1. The main peaks, with positions and relative intensities, have been extracted from the diffractogram in FIG. 1 and is given below in table 1. The relative intensities are less reliable and instead of numerical values the following definitions are used.

% Relative Intensity Definition  25-100 vs (very strong) 10-25 s (strong)  3-10 m (medium) 1-3 w (weak) <1 vw (very weak)

Some additional very weak peaks found in the diffractogram have been omitted from table 1.

TABLE 1 Positions and intensities of the major peaks in the XRP-diffractogram of the magnesium salt of S-omeprazole trihydrate. d-value/Å Relative Intensity 2.67 M 2.79 M 3.27 M 3.52 S 3.82 S 3.96 Vs 4.14 M 5.2 M 5.6 M 6.7 Vs 6.9 S 8.3 W 16.6 Vs

Example 2

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]sulfnyl]-1H-benzimidazole Potassium Salt

A solution of 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]thio]-1H-benzimidazole (15.4 g, 46.8 mmol) in toluene (70 ml) was heated to 50° C. and water (0.05 ml, 2.8 mmol) and D-(−)-diethyl tartrate (2.02 g, 9.82 mmol) were added. The reaction mixture was stirred for 20 minutes. Titanium (IV) isopropoxide (1.34 g, 4.68 mmol) was added and the reaction mixture was stirred for 45 minutes. The mixture was cooled to 30° C. and diisopropylethylamine (0.91 g, 7.01 mmol) was added followed by cumene hydroperoxide (9.52 g, 51.89 mmol). The resultant mixture was stirred at 30° C. for 3 hours. Methanol (40 ml) was added followed by potassium hydroxide (3.05 g, 46.8 mmol) in methanol (30 ml). Seed crystals were added and the reaction mixture was stirred at 35° C. overnight. The precipitated product was filtered off, washed with methanol and toluene and dried in vacuo. Yield: 9.74 g (54%).

Example 3

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Potassium Salt

Water (157.6 μl) was added to a solution of 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]thio]-1H-benzimidazole in toluene (370 ml; 211.5 g/l) with a water content 25 of 0.031% (w/w), followed by addition of D-(−)-diethyl tartrate (8.55 ml). The solution was heated to 50° C. and stirred at this temperature for 20 minutes. Titanium (IV) isopropoxide (7.15 ml) was added and reaction was left at 50° C. for 45 minutes. The temperature was lowered to 30° C. and diisopropylethylamine (6.2 ml) was added. Cumene hydroperoxide was added at an appropriate speed to maintain the temperature from 28° C. to 34° C. The temperature was raised to 35° C. after 2 hours and potassium methoxide (24.55 g) in methanol (222 ml) was added. The mixture was filtered after 14 hours and the crystals were washed with methanol:toluene (240 ml; 1:1) and methanol (120 ml) and dried. Yield: 79 g (74%), ee>99.9%.

[α]_(D) ²⁰=+28.7° (c=1%, water); Assay: 89% is S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole potassium salt (11% is methanol).

1H-NMR (200 MHz, DMSO-d6, δ ppm): 2.23 (s, 3H), 2.24 (s, 3H), 3.71 (s, 3H), 3.75 (s, 3H), 4.40 (d, 1H), 4.78 (d, 1H), 6.58 (dd, 1H), 7.00 (d, 1H), 7.35 (d, 1H), 8.25 (s, 1H).

The products from Examples 2 and 3 were analysed using X-ray powder diffraction as described in Example 1 and gave the diffractogram depicted in FIG. 2 and given below in Table 2. Some additional very weak peaks found in the diffractogram have been omitted from Table 2.

TABLE 2 Positions and intensities of the major peaks in the XRP-diffractogram of the potassium salt of S-omeprazole. Relative d-value/ Relative d-value/Å intensity (Å) intensity 13.6 Vs 3.52 m 10.6 Vw 3.42 w 7.8 M 3.38 w 6.8 M 3.34 m 6.5 M 3.28 w 6.2 W 3.20 m 6.1 M 3.12 w 5.8 S 3.06 w 5.4 M 3.03 w 5.3 W 2.97 w α1 = 1.54060 Å 5.2 W 2.93 vw 5.0 Vw 2.89 w 4.75 M 2.85 m 4.71 W 2.76 w 4.52 W 2.71 vw 4.42 W 2.66 vw 4.32 W 2.58 w 4.27 M 2.57 w 3.98 Vw 2.56 w 3.92 W 2.52 vw 3.89 W 2.47 vw 3.87 W 2.45 vw 3.81 W 2.43 vw 3.74 M 2.40 vw 3.60 M 2.38 vw 3.55 M 2.31 vw

Example 4

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Magnesium Salt

Methanol (148 kg) was added to S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole potassium salt (71 kg, methanol content=13%). MgSO₄×7H₂O (40 kg) was added to the mixture while stirring. After 70 minutes the mixture was filtered and the filtrate was washed with methanol (46 kg). The solution was concentrated to a volume of 100 liter, acetone (253 kg) was added and the resulting mixture was left for 4 hours. The precipitated product was filtered off, washed with acetone and water. The wet crystals were immediately used as is described in Example 1.

Example 5

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Magnesium Salt Dihydrate

5.0 g of the moist product from Example 4 with an approximate dry content of 74%, was dried in vacuum at 35° C. over night to yield 3.58 g (2.68 mmol) of S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole magnesium salt dihydrate, named Form B.

The product was analyzed using X-ray powder diffraction as described in Example 1, and the analyze gave the diffractogram depicted in FIG. 3 and given below in Table 3. Some additional peaks with low intensities found in the diffractogram have been omitted from Table 3.

TABLE 3 Positions and intensities of the major peaks in the XRP-diffractogram of the magnesium salt of S-omeprazole dihydrate, Form B. d-value/Å Relative Intensity 4.19 M 4.45 M 4.68 M 4.79 S 4.91 S 4.98 S 5.1 M 5.4 S 5.5 M 5.6 M 5.8 M 6.3 M 6.7 S 7.9 M 8.1 S 11.0 M 11.8 M 14.9 Vs

Convertion of Magnesium Salt of S-Omeprazole Dihydrate to Trihydrate

This material was subsequently processed to S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole magnesium salt trihydrate according to the procedure described for the moist substance in Example 1.

Example 6

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Magnesium Salt Dihydrate

A methanolic solution of S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole magnesium salt was prepared as is described in Example 4. Such a solution of S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole magnesium salt (1.86 g) in 5 ml methanol was concentrated by evaporation until 1.58 ml methanol remained. Then, a mixture of 1.6 ml water and 6.32 ml aceton was added. The solution was allowed to crystallize during 26 h at room temperature. The resulting crystals were filtered off and dried at 40° C. under reduced pressure giving 1.17 g of S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole magnesium salt dihydrate, named form A.

The product was analyzed using X-ray powder diffration as described in Example 1 and gave the diffractogram depicted in FIG. 4 and given below in Table 4. Some additional peaks with low intensities found in the diffractogram have been omitted from Table 4.

TABLE 4 Positions and intensities of the major peaks in the XRP-diffractogram of the magnesium salt of S-omeprazole dihydrate, Form A. d-value/Å Relative Intensity 3.04 S 3.14 S 3.18 M 4.05 S 4.19 S 4.32 M 4.54 S 4.69 Vs 5.2 S 5.3 S 5.8 S 6.2 Vs 6.6 S 15.5 Vs

Example 7

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Magnesium Salt Trihydrate

22, 0 g (29.1 mmol) of S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl) methyl]sulfinyl]-1H-benzimidazole potassium salt was dissolved in 40 mL of water. The solution was seeded with 0.11 g (0.1 mmol) S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole magnesium salt trihydrate. 22 mL (69.6 mmol) of MgSO₄ (aq) was added under a 3 h period. The slurry was filtered off and the precipitate was elutriated in water for approximately 30 minutes and the crystals were filtered off and dried (35° C., vacuum).

Yield: 9.15 g (11.6 mmol; 80%). The substance had a purity (HPLC):99.8 area %, Mg content: 3.40% (w/w) and ee: 99.8%.

The product was analyzed using X-ray powder diffraction and the result complies with FIG. 1 and Table 1.

Example 8

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]sulfinyl]-1H-benzimidazole Magnesium Trihydrate

MgSO₄×2H₂O (13.5 g, 86 mmol) was dissolved in water (27 mL) and the solution was seeded with an aqueous suspension of the desired product (6 g crystals together with 213 mL water) to give a homogenous slurry. S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]sulfinyl]-1H-benzimidazole potassium methanolate (109 g of wet substance constituting of approximately 45% w/w methanol, 160 mmol) was dissolved in water (312 mL). This solution was washed with toluene (19 mL), filtered and then added during three hours to the above-mentioned slurry of seed crystals while stirring at 37° C. The mixture was stirred additionally for 50 minutes and then filtered. The filter cake was mixed with water (420 mL) at 35° C. and the formed slurry subsequently filtered again. This washing procedure in water was repeated once more and then the substance was dried in vacuum at 37° C. for 25 hours to give 54 g of the desired product, which corresponds to a yield of 82%.

Reference Example A

S-5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)-methyl]sulfinyl]-1H-benzimidazole Magnesium Salt

(The Method Used is in Accordance with the Method Described in Example A in WO 96/01623)

Magnesium (0.1 μg, 4.5 mmol) was dissolved and reacted with methanol (50 ml) at 40° C. with a catalytic amount of methylene chloride. The reaction was run under nitrogen and was finished after five hours. At room temperature a mixture of the two enantiomers [90% (−)-isomer and 10% (+)-isomer] of 5-methoxy-2-[[(4-methoxy-3,5-dimethyl-2-pyridinyl)methyl]sulfinyl]-1H-benzimidazole (2.84 g, 8.2 mmol) was added to the magnesium methoxide solution. The mixture was stirred for 12 hours whereupon a small amount of water (0.1 ml) was added in order to precipitate inorganic magnesium salts. After 30 minutes stirring, these inorganic salts were filtered off and the solution was concentrated on a rotavapor. The residue was now a concentrated methanolic solution of the enantiomeric mixture (i.e. the title compound contaminated with the (+)-isomer), with an optical purity (enantiomeric excess, e.e.) of 80%. This mixture was diluted with acetone (100 ml) and after stirring at room temperature for 15 minutes, a white precipitate was obtained. Additional stirring for 15 minutes and thereafter filtration afforded 1.3 g (50%) of the title compound as white crystals. Chiral analyses of the crystals and mother liquor were performed by chromatography on an analytical chiral column. The optical purity of the crystals and mother liquor was found to be 98.4 e.e. and 64.4% e.e., respectively. Thus, the optical purity (e.e.) has been enhanced from 80% to 98.4% simply by crystallizing the Mg-salt from a mixture of acetone and methanol. The product was crystalline as shown by powder X-ray diffraction and the magnesium content was 3.44% as shown by atomic absorption spectroscopy.

[a]_(D) ²⁰=−131.5° (c=0.5%, methanol).

The product was analyzed using X-ray powder diffraction as described in Example 1 and gave the diffractogram depicted in FIG. 5 and given below in Table 5. Some additional very weak peaks found in the diffractograms have been omitted from Table 5.

TABLE 5 Positions and intensities of the major peaks in the XRP-diffractogram shown in FIG. 5. d-value/Å Relative Intensity 2.90 S 3.41 S 3.90 S 4.13 S 4.79 Vs 5.00 Vs 5.4 Vs 5.7 S 6.3 S 6.8 S 7.8 S 8.4 Vs 10.8 S 12.2 S 15.1 Vs 

We claim:
 1. A process for the preparation of the magnesium salt of S-omeprazole trihydrate which comprises the following steps: (a) dissolving a magnesium source in water; (b) mixing a potassium salt of S-omeprazole with water; (c) adding the solution of the potassium salt of S-omeprazole of step (b) to the solution of step (a) to convert the potassium salt of S-omeprazole into the corresponding magnesium salt of S-omeprazole and precipitate the magnesium salt of S-omeprazole; (d) isolating the obtained magnesium salt of S-omeprazole; (e) treating the obtained magnesium salt of S-omeprazole with water; and (f) isolating and drying the obtained magnesium salt of S-omeprazole trihydrate.
 2. The process according to claim 1, further comprising the step of adding seeding crystals of S-omeprazole magnesium salt trihydrate to the solution of step (a).
 3. The process according to claim 1, further comprising the step of washing the solution of step (b) with an organic solvent.
 4. The process according to claim 2, further comprising the step of washing the solution of step (b) with an organic solvent.
 5. The process according to claim 3 or 4, wherein the organic solvent is toluene.
 6. The process according to any one of claims 1-4, wherein the magnesium source is magnesium sulfate.
 7. The process according to any one of claims 1-4, wherein the magnesium salt of S-omeprazole trihydrate is characterized by the following major peaks in its X-ray diffractogram: d-value/Å Relative Intensity 2.67 m 2.79 m 3.27 m 3.52 s 3.82 s 3.96 vs 4.14 m 5.2 m 5.6 m 6.7 vs 6.9 s 8.3 w 16.6 vs 